import request from '@/utils/request'

// 查询安全理念列表
export function listConcept(query) {
  return request({
    url: '/app/concept/list',
    method: 'get',
    params: query
  })
}

// 查询安全理念详细
export function getConcept(id) {
  return request({
    url: '/app/concept/' + id,
    method: 'get'
  })
}  

// 新增安全理念
export function addConcept(data) {
  return request({
    url: '/app/concept',
    method: 'post',
    data: data
  })
}

// 修改安全理念
export function updateConcept(data) {
  return request({
    url: '/app/concept',
    method: 'put',
    data: data
  })
}

// 删除安全理念
export function delConcept(id) {
  return request({
    url: '/app/concept/' + id,
    method: 'delete'
  })
}
